class ListenGdRender extends eui.ItemRenderer{

    //private labelDisplay:eui.Label;
    private year:number;
    private imoney:number;
    

    private yearImage:eui.Image;
    private listenText:eui.Label;
    private money:eui.Label;

    public constructor(){
        super();
        this.touchChildren=true;
        this.skinName="resource/skins/render/ListenGdRender.exml";
        this.addEventListener(egret.TouchEvent.TOUCH_TAP,this.click,this);

    }
    private click() {
        SceneManager.instance.addScene(new ListenList2Scene());
	}
    protected dataChanged(){

        this.listenText.text="fewfe";

        /*if(this.year=2017){
            this.yearImage.source="2017听力";
        }
        if(this.year=2018)
            this.yearImage.source="2018听力";
        */
        //this.labelDisplay.text=this.data.label;
        
        //console.log(this.data.label);
    }

}